import { Component } from '@angular/core';
import { AlertController } from 'ionic-angular';
import { NavController } from 'ionic-angular';
import { HomePage } from '../home/home';
/**
 * 维修历史
 */
@Component({
  templateUrl: 'check-history.html'
})
export class CheckHistory {
  private list : any;
  constructor(
    public navCtrl: NavController,
    private alertCtrl: AlertController,
  ) {
    this.list =[
      {
        name:'星期一',
        time:'2019-09-08',
        type:'季度'
      },
      {
        name:'星期二',
        time:'2019-09-08',
        type:'年度'
      },
      {
        name:'星期三',
        time:'2019-09-08',
        type:'月度'
      },
      {
        name:'星期四',
        time:'2019-09-08',
        type:'年度'
      },
     

    ]
  }
  doConfirm(){
    const alert = this.alertCtrl.create({
     // title: '',
      subTitle: '提交成功，已退签',
      buttons: ['确定']
    });
    alert.present();
  }
 
  


}
